<template>
  <!-- 面包屑区域 -->
  <XtxBread>
    <XtxBreadItem to="/">首页</XtxBreadItem>
    <XtxBreadItem to="`/category/${subCate.parentId}`">{{
      subCate.parentName
    }}</XtxBreadItem>
    <XtxBreadItem>{{ subCate.name }}</XtxBreadItem>
  </XtxBread>
</template>
<script>

export default {
  props: {
    subCate: {
      type: Object,
      default: () => ({})
    }
  },
  setup () {

  }
}
</script>
